using System;
using System.Collections.Generic;
using System.Text;

namespace XinBang.Entity
{
    public class Member : IDomainModel
    {
        private int memid;

        public virtual int Memid
        {
            get { return memid; }
            set { memid = value; }
        }
        private string username;

        public virtual string Username
        {
            get { return username; }
            set { username = value; }
        }

        private string email;

        public virtual string Email
        {
            get { return email; }
            set { email = value; }
        }
        private string password;

        public virtual string Password
        {
            get { return password; }
            set { password = value; }
        }

        private string address;

        public virtual string Address
        {
            get { return address; }
            set { address = value; }
        }

        private string phone;

        public virtual string Phone
        {
            get { return phone; }
            set { phone = value; }
        }

        public override string ToString() {
            return this.Username;
        }
    }
}
